SERVER=server
CLIENT=client
SERVER_SRC=Server.cpp
CLIENT_SRC=Client.cpp

.PHONY:all
all:server client

$(SERVER):$(SERVER_SRC)
	g++ -o $@ $^
$(CLIENT):$(CLIENT_SRC)
	g++ -o $@ $^

.PHONY:clean
clean:
	rm -rf $(SERVER) $(CLIENT)